<template>
	<view>
		<cu-custom bgColor="bg-cyan" isBack>
			<block slot="content">swipter</block>
		</cu-custom>
		<!-- 顶部区域 -->
		<view class="smart-padding-wrap">
			<view class="text">默认样式</view>
			<view class="">
				<switch checked @change="switchChange" />
				<switch checked  @change="switch2Change" />
			</view>
		</view>
		<view class="">
			<view class="">
				<switch type="checkbox" />
			</view>
			<view class="">
				<switch color="#ffd0ee" type="checkbox" />
			</view>
		</view>
	
	</view>
</template>

<script>
	export default{
		data(){
			return{
				indicatorDots:true,
				autoplay:true,
				interval:5000,
				duration:500,
			}
		},
		methods:{
			switchChange(){
				console.log(1)
			},
			switch2Change(){
				
			}
			
		}
	}
</script>

<style>
</style>